#ifndef _DOTPRODUCTNODE_H_
#define _DOTPRODUCTNODE_H_

#include "ExprNode.h"

class DotProductNode : public ExprNode {
protected:
    ExprNode *left, *right;
public:
    DotProductNode(ExprNode *left, Token *t, ExprNode *right):
        ExprNode(t), left(left), right(right) { }
    void print() {
        left->print();
        cout << ".";
        right->print();
    }
};

#endif
